<?php
$key=$_COOKIE['userkey'];
session_start();
if(!isset($_SESSION[$key])){
    echo '<a href="../login/loginUI.php">请重新登陆</a>';
die;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>转账</h1>
<form method="post" enctype="multipart/form-data" action="Transfer_Action.php" >
    您的当前余额为：<?php
    echo $_SESSION[$key]['card_money'];
    ?>
    <br/>
    <input type="text" name="Transfer_card" placeholder="请输入目标卡号"><br/>
    <input type="text" name="Transfer_money" placeholder="请输入转账金额"><br/>
    <input type="submit">
</form>
</body>
</html>